#! /bin/bash
# done
model_name=head_1_high_dose_d0.5
model_air_name=head_1_air

scale=0.07
gpu=1

dose_scale=0.5
(
  echo " "
  echo "*************************************************************************************"
  echo "step 1: generate vox file"
  (
     cd vox || exit &&
     python create_vox_filev2.py -name $model_name -scale $scale -pix_dist "0.5, 0.5, 1"
  )
  vox=$(cat ./tmp) &&
    echo $vox
)

(
  echo " "
  echo "*************************************************************************************"
  echo "step 2: create .in file"
  vox=$(cat ./tmp) &&
	echo $vox
  python create_input_file.py -name $model_name -scale $scale -vox $vox -gpu $gpu -dose_scale $dose_scale
)


(
  echo " "
  echo "*************************************************************************************"
#  echo "step 3: create air vox file"
#  (
#    cd vox || exit &&
#      python create_vox_filev2.py -name $model_air_name -scale $scale -pix_dist "0.5, 0.5, 1" -air True
#  )
#  vox=$(cat ./tmp) &&
#    echo $vox
)

(
  echo " "
  echo "*************************************************************************************"
  #echo "step 4: create air in file"
  #python create_input_file.py -name $model_air_name -scale $scale -vox $vox -gpu $gpu
  #vox=$(cat ./tmp) &&
   # echo $vox
)
